package com.unknow.first.dapp.admin.account.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.unknow.first.dapp.admin.account.dto.AddressSwapDTO;
import com.unknow.first.dapp.admin.account.dto.AddressSwapEstimateDTO;
import com.unknow.first.dapp.admin.account.mapper.FlashSwapRecord;
import java.util.List;


public interface FlashSwapRecordService extends IService<FlashSwapRecord> {


    int insertSelective(FlashSwapRecord record);

    int updateByPrimaryKeySelective(FlashSwapRecord record);

    int updateBatch(List<FlashSwapRecord> list);

    int batchInsert(List<FlashSwapRecord> list);

    FlashSwapRecord create(AddressSwapDTO createDTO,String address) throws Exception;


    AddressSwapEstimateDTO estimate(AddressSwapDTO createDTO,String address) throws Exception;


}
